package net.sakz.oss;

import java.util.HashMap;
import java.util.Map;

public class AuthenticatorRlt {
	/**
	 * 用户ID
	 */
	private String userId;
	/**
	 * 认证结果
	 */
	private boolean isVaild = false;
	/**
	 * 附属参数
	 * 
	 * @return
	 */
	private Map<String, Object> attributes=new HashMap<String, Object>();
	/**
	 * 用户信息
	 */
	private String userInfo;
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public boolean isVaild() {
		return isVaild;
	}

	public void setVaild(boolean isVaild) {
		this.isVaild = isVaild;
	}

	public Map<String, Object> getAttributes() {
		return attributes;
	}

	public void setAttributes(Map<String, Object> attributes) {
		this.attributes = attributes;
	}

	public String getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(String userInfo) {
		this.userInfo = userInfo;
	}

}
